﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class ShopBranchInTagInfoConfig : EntityTypeConfiguration<ShopBranchInTagInfo>
    {
        public ShopBranchInTagInfoConfig()
        {
            ToTable("Himall_ShopBranchInTags");
            HasRequired(x => x.Himall_ShopBranch).WithMany(x => x.Himall_ShopBranchInTags).HasForeignKey(x => x.ShopBranchId);
            HasRequired(x => x.Himall_ShopBranchTags).WithMany(x => x.Himall_ShopBranchInTags).HasForeignKey(x => x.ShopBranchTagId);
        }
    }
}
